package cn.lijiajia3515.cairo.auth.domain.mongo;

import cn.lijiajia3515.cairo.mongo.MongoConstants;

public class AuthMongoConstants extends MongoConstants {

	public static class Collection {
		private static final String PREFIX = "auth";

		public static final String SERIAL = collection("serial");

		public static final String CLIENT = collection("client");


		public static final String ACCOUNT = collection("account");

		public static final String CONNECTION = collection("connection");

		public static final String ROLE = collection("role");

		public static final String DEPARTMENT = collection("department");

		public static final String RESOURCE = collection("resource");

		private static String collection(String collection) {
			return PREFIX.concat("_").concat(collection);
		}
	}
}
